#ifndef LIST_TEACHER_H
#define LIST_TEACHER_H

#include <QDialog>
#include <QtSql>

namespace Ui {
    class ListTeacher;
}

class ListTeacher : public QDialog
{
    Q_OBJECT

public:
    explicit ListTeacher(QWidget *parent = 0);
    ~ListTeacher();

private slots:
    void on_btnClose_clicked();

    void on_btnEdit_clicked();

private:
    Ui::ListTeacher *ui;
    QSqlTableModel *teacher;

    void setNameFields();
};

#endif // LIST_TEACHER_H
